'Declaration Public Overloads Function Paging(Of TKey)( _ ByVal sortKeySelector As Expression(Of Func(Of T,TKey)), _ ByVal ascending As Boolean, _ ByVal pageSize As Integer _ ) As PagingView(Of T)
public PagingView<T> Paging<TKey>( Expression<Func<T,TKey>> sortKeySelector, bool ascending, int pageSize )
Parameters
- sortKeySelector
- A function specifying a sort key.
- ascending
- A boolean value indicating whether sorting must be performed in the ascending order (descending, if false).
- pageSize
- A value for the PageSize property, the number of items to load in a page.
Type Parameters
- TKey
- The type of the sort key.